<div class="clear"></div>
<div class="photo">
	<div class="photo_l">
		{template "left.html"}
    </div>
	<div class="photo_r">
        <div class="newhot">
        	<!--首页幻灯 begin-->
			<link href="__THEME__/public/statics/css/slide.css" type="text/css" rel="stylesheet">
			<div id="myslide" style="width:750px;height:290px">
                <table width="100%" cellSpacing="0" cellPadding="0">
                <tr>
                <td class="pic" id="bimg" style="height:292px">
                	<!--查询推荐位1（图文精选）的内容，field需要用到的字段（不填表示全部），按ordid（后台指定排序）排序-->
					{asp i=0}
					{cmstag:photo table='picture' field='id,thumb,title,url' where="thumb<>''" order='ordid asc,update_time' loop=6}
                    <div class="{if i=0}dis{else}undis{/if}" name="f">
                    <a href="[photo:id fun='getArcUrl(@me)']" title="[photo:title]" target="_blank"><img alt="[photo:thumb]" style="width:750px;height:295px; display:inline-block" src="[photo:thumb]" border="0"></a>
                    </div>
					{$i++}
					{/cmstag:photo}
                    <table id="font_hd" width="100%" cellSpacing="0" cellPadding="0">
                    <tr>
                    <td class="title" id="info">
                    <!--查询推荐位1（图文精选）的内容，field需要用到的字段（不填表示全部），按ordid（后台指定排序）排序-->
					{asp i=0}
					{cmstag:photo table='picture' field='id,title,url' order='ordid asc,update_time' loop=6}
                    <div class="{if i=0}dis{else}undis{/if}" name="f">
                    <a href="[photo:id fun='getArcUrl(@me)']" title="[photo:title]">[photo:title]</a>
                    </div>
					{$i++}
					{/cmstag:photo}
                    </td>
                    <td id="simg" nowrap="nowrap" style="text-align:right">
                    <!--查询推荐位1（图文精选）的内容，field需要用到的字段（不填表示全部），按ordid（后台指定排序）排序-->
					{asp i=0}
					{cmstag:photo table='picture' field='id,title,url' order='ordid asc,update_time' loop=6}
                    <div class="{if i=0}{else}f1{/if}" onclick=play(x[{$i}],{$i}) name="f">{$i+1}</div>
					{$i++}
					{/cmstag:photo}
                    </td>
                    </tr>
                    </table>
                    <script src="__THEME__/public/statics/js/slide.js"></script>
                </td>
                </tr>
                </table>
			</div>
        	<!--首页幻灯 end-->
        </div>
        <!--循环输出顶级栏目下面的子栏目及其内容-->
		{cmstag:cat1 table='class' where='typeid=0 and module_id=3 and pid={$topid}' order='ordid asc,id asc' loop=0 }
		<div class="r_lmlist" >
			<div class="tit">
            	<h4 class="l">[cat1:name]</h4>
                <div class="r"><a href="[cat1:id fun='catUrl(@me)']"><img src="__THEME__/public/statics/images/more.png" /></a></div>
            </div>
			<ul>
                <!--循环输出当前栏目下面的数据，我们按时间排序-->
				{cmstag:photo table='picture' field='id,thumb,title,url,seo_desc' where="classid in( [cat1:id fun='child_ids(@me,true)'] )" order='ordid asc,update_time' loop=4}
                <li><a href="[photo:id fun='getArcUrl(@me)']" title="[photo:title]" target="_blank"><img src="[photo:thumb]" alt="[photo:title]" width="100%" /></a><br /><span><a href="[photo:id fun='getArcUrl(@me)']" title="[photo:title]" target="_blank">[photo:title fun='ab.c.cutstr(@me,20)']</a></span><br /><div class="into">[photo:seo_desc fun='ab.c.cutstr(@me,40)']</div><a href="[photo:id fun='getArcUrl(@me)']" class="cktj" target="_blank">查看图集</a></li>
				{/cmstag:photo}
				</ul>
			</div>
        {/cmstag:cat1}
    </div>	
</div>
<div class="clear"></div>